import * as mongoose from 'mongoose'

export const PromptSchema = new mongoose.Schema(
    {
        title: String,
        content: String,
        time:String,
        userId:String
    },
    { collection: 'prompts', versionKey: false },
)